<?php
class group extends spModel 
{
	var $pk = "groupid"; // 每个留言唯一的标志，可以称为主键
	var $table = "group"; // 数据表的名称
	
	function s_group()
	{
		$results = $this->findAll();
		return $results;
	}
	function  i_group($date)
	{
		$this->create($date);
	}
	function d_group($conditions)
	{
		$this->delete($conditions);
	}
	function u_group($conditions,$row)
	{
		$this->update($conditions, $row);
	}


}